<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
	
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
	<meta content="telephone=no,email=no,address=no" name="format-detection">
	<link rel="stylesheet" href="${ctxWebStatic}/css/swiper.min.css" />
	<link rel="stylesheet" href="${ctxWebStatic}/css/bootstrap.min.css" />
	<link rel="stylesheet" href="${ctxWebStatic}/css/font-awesome.min.css" />
	<link rel="stylesheet" href="${ctxWebStatic}/css/reset.css" />
	<link rel="stylesheet" href="${ctxWebStatic}/css/index.css" />
	<link rel="stylesheet" href="${ctxWebStatic}/css/page.css" />
	<script type="text/javascript" src="${ctxWebStatic}/js/jquery-1.11.1.min.js" ></script>
	<script type="text/javascript" src="${ctxWebStatic}/js/bootstrap.min.js" ></script>
	<script type="text/javascript" src="${ctxWebStatic}/js/placeholdr.js" ></script>
	<script type="text/javascript" src="${ctxWebStatic}/js/swiper.jquery.min.js" ></script>
	<script type="text/javascript" src="${ctxWebStatic}/js/top_nav.js" ></script>
	<script type="text/javascript" src="${ctxWebStatic}/js/jquery.cookie.js" ></script>
	<script type="text/javascript" src="${ctxWebStatic}/js/detail.js" ></script>
	<script type="text/javascript" src="${ctxWebStatic}/js/distpicker.min.js" ></script>
	<script type="text/javascript" src="${ctxWebStatic}/js/checkFunc.js"></script> 
	<script type="text/javascript" src="${ctxWebStatic}/laydate/laydate.js"></script> 
	<script type="text/javascript" src="${ctxWebStatic}/js/zooming.min.js"></script>
	<link href="${ctxWebStatic}/jquery-validation/1.11.0/jquery.validate.css" type="text/css" rel="stylesheet" />
	<script src="${ctxWebStatic}/jquery-validation/1.11.0/jquery.validate.js" type="text/javascript"></script>
	<script src="${ctxWebStatic}/jquery-validation/1.11.0/jquery.validate.method.js" type="text/javascript"></script>
	<!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!--[if IE 9]>
			<style>
	      	.hy1,.hy{background-image:none;}
	      	.parts_search_right .form-control{padding:0;}
	      </style>
		<![endif]-->
    <link rel="Shortcut Icon" href="${ctxWebStatic}/images/bitbug_favicon.ico" />
    <script>
    $(function(){
		getShoppingCartNum();
	})
	function getShoppingCartNum(){
		$.ajax({
			url:'${ctxWeb}/shoppingCart/getShoppingCartNum',
			async:false,
			success:function(result){
				if(result!=null){
					if(result.length>0){
						length = result.length;
						$('#shopNum').text(length);
						$('#shopNum').show();
					}else{
						$('#shopNum').hide();
					}
				}else{
					$('#shopNum').hide();
				}
			}
		})
	}
    function searchFunc(){
    	var result="";
    	var searchContent=$("#searchContent").val();
    	if(searchContent!=""&&searchContent!="请输入商品名或配件编号"&&searchContent!="请输入搜索关键字"){
			result=result+"searchContent="+searchContent;
		}
    	window.location.href = "${ctxWeb}/searchGoods/getListByParam?"+result;
	}
    </script>
	
